package com.cheyun.netsalev3.utils

/**
 * @author Michael
 * @date  2018/11/2 - 13:22.
 */

object AppCongfig {
    @JvmField
    var width: Int = 0
    var height: Int = 0
    /**
     * 接口请求成功返回值
     */
    val   SUCCESS_CODE = 1

    /**
     * Unauthorized/未授权
     */
    val UNAUTHORIZED = "未授权"

    /**
     * Forbidden/禁止
     */
    val FORBIDDEN = "禁止访问"

    /**
     * Not Found/未找到
     */
    val NOT_FOUND = "访问地址不存在"

    /**
     * Method Not Allowed/方法未允许
     */
    val METHOD_NOT_ALLOWED = "请求方法错误"

    /**
     * Request Timeout/请求超时
     */
    val REQUEST_TIMEOUT = "请求超时"

    /**
     * Stringernal Server Error/内部服务器错误
     */
    val INTERNAL_SERVER_ERROR = "服务器响应出错"

    /**
     * 网络连接错误
     */
    val BAD_NET_WORK = "网络连接错误"


    /**
     * 数据解析出错
     */
    val PARSE_ERROR = " 数据解析出错"


    /**
     * 未知错误
     */
    val UNKNOW_ERROR = "未知错误"

    /**
     * 请求出错
     */
    val BAD_REQUEST = "请求出错"


    /**
     * Token(authkey 、ckey 过期)
     */
    val TOKEN_EXPIRED = -2

}